﻿using ESTAR.Infrastructure;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace User.Model.Models
{
    public class UserInfoModel : BaseModel
    {

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

    }

    public class UserInfoIndexModel
    {
        [Key]
        public string UserId { get; set; }
        public string UserName { get; set; }
    }
}
